//
//  LS_MediatorAction+LS_WebViewController.m
//  breadPro
//
//  Created by 刘文超 on 2019/7/19.
//  Copyright © 2019 刘文超. All rights reserved.
//

#import "LS_MediatorAction+LS_WebViewController.h"

@implementation LS_MediatorAction (LS_WebViewController)
- (void)pushWebViewControllerWithViewModel:(LS_WebViewModel *)viewModel
{
    id vc = [@"LS_WebViewController" VKCallClassAllocInitSelectorName:@"initWithViewModel:" error:nil,viewModel];
    UIViewController *currentVC = [self performTarget:nil action:nil];
    
    if ([vc isKindOfClass:[UIViewController class]]) {
        [currentVC.navigationController pushViewController:vc animated:YES];
    }
}
@end
